package com.cicadamob.contact.api.service;

/**
 * 其他实体继承该实体
 * @author lvbo
 *
 * @param <T>
 */
public class BaseResultModel<T> {
	
	public BaseResultModel(int rCode,String description,T rData){
		this.rCode=rCode;
		this.description=description;
		this.rData=rData;
	}
	
	/**
	 * 响应码、1成功、-1失败、 9网络超时  8网络异常
	 */
	private int rCode;
	private String description;
	private T rData;
	public int getrCode() {
		return rCode;
	}
	public void setrCode(int rCode) {
		this.rCode = rCode;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public T getrData() {
		return rData;
	}
	public void setrData(T rData) {
		this.rData = rData;
	}
	

}
